
// 装饰器 => 预调用方法
function testable(target) {
    console.log("testable");
    target.isTestable = true;
}

@testable
class MyTestableClass {
    
}

let arg = new MyTestableClass();
console.log(arg);

